3.66 \(\int (f x)^{-1+n} \log (c (d+e x^n)^p) \, dx\)

Optimal. Leaf size=69 \[ \frac{(f x)^n \log \left (c \left (d+e x^n\right )^p\right )}{f n}+\frac{d p x^{-n} (f x)^n \log \left (d+e x^n\right )}{e f n}-\frac{p (f x)^n}{f n} \]

[Out]

-((p*(f*x)^n)/(f*n)) + (d*p*(f*x)^n*Log[d + e*x^n])/(e*f*n*x^n) + ((f*x)^n*Log[c*(d + e*x^n)^p])/(f*n)

________________________________________________________________________________________

Rubi [A]  time = 0.0428553, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {2455, 20, 266, 43} \[ \frac{(f x)^n \log \left (c \left (d+e x^n\right )^p\right )}{f n}+\frac{d p x^{-n} (f x)^n \log \left (d+e x^n\right )}{e f n}-\frac{p (f x)^n}{f n} \]

Antiderivative was successfully verified.

[In]

Int[(f*x)^(-1 + n)*Log[c*(d + e*x^n)^p],x]

[Out]

-((p*(f*x)^n)/(f*n)) + (d*p*(f*x)^n*Log[d + e*x^n])/(e*f*n*x^n) + ((f*x)^n*Log[c*(d + e*x^n)^p])/(f*n)

Rule 2455

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))*((f_.)*(x_))^(m_.), x_Symbol] :> Simp[((f*x)^(m
+ 1)*(a + b*Log[c*(d + e*x^n)^p]))/(f*(m + 1)), x] - Dist[(b*e*n*p)/(f*(m + 1)), Int[(x^(n - 1)*(f*x)^(m + 1))
/(d + e*x^n), x], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && NeQ[m, -1]

Rule 20

Int[(u_.)*((a_.)*(v_))^(m_)*((b_.)*(v_))^(n_), x_Symbol] :> Dist[(b^IntPart[n]*(b*v)^FracPart[n])/(a^IntPart[n
]*(a*v)^FracPart[n]), Int[u*(a*v)^(m + n), x], x] /; FreeQ[{a, b, m, n}, x] &&  !IntegerQ[m] &&  !IntegerQ[n]
&&  !IntegerQ[m + n]

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin{align*} \int (f x)^{-1+n} \log \left (c \left (d+e x^n\right )^p\right ) \, dx &=\frac{(f x)^n \log \left (c \left (d+e x^n\right )^p\right )}{f n}-\frac{(e p) \int \frac{x^{-1+n} (f x)^n}{d+e x^n} \, dx}{f}\\ &=\frac{(f x)^n \log \left (c \left (d+e x^n\right )^p\right )}{f n}-\frac{\left (e p x^{-n} (f x)^n\right ) \int \frac{x^{-1+2 n}}{d+e x^n} \, dx}{f}\\ &=\frac{(f x)^n \log \left (c \left (d+e x^n\right )^p\right )}{f n}-\frac{\left (e p x^{-n} (f x)^n\right ) \operatorname{Subst}\left (\int \frac{x}{d+e x} \, dx,x,x^n\right )}{f n}\\ &=\frac{(f x)^n \log \left (c \left (d+e x^n\right )^p\right )}{f n}-\frac{\left (e p x^{-n} (f x)^n\right ) \operatorname{Subst}\left (\int \left (\frac{1}{e}-\frac{d}{e (d+e x)}\right ) \, dx,x,x^n\right )}{f n}\\ &=-\frac{p (f x)^n}{f n}+\frac{d p x^{-n} (f x)^n \log \left (d+e x^n\right )}{e f n}+\frac{(f x)^n \log \left (c \left (d+e x^n\right )^p\right )}{f n}\\ \end{align*}

Mathematica [A]  time = 0.0326439, size = 48, normalized size = 0.7 \[ \frac{x^{1-n} (f x)^{n-1} \left (\frac{\left (d+e x^n\right ) \log \left (c \left (d+e x^n\right )^p\right )}{e}-p x^n\right )}{n} \]

Antiderivative was successfully verified.

[In]

Integrate[(f*x)^(-1 + n)*Log[c*(d + e*x^n)^p],x]

[Out]

(x^(1 - n)*(f*x)^(-1 + n)*(-(p*x^n) + ((d + e*x^n)*Log[c*(d + e*x^n)^p])/e))/n

________________________________________________________________________________________

Maple [F]  time = 1.869, size = 0, normalized size = 0. \begin{align*} \int \left ( fx \right ) ^{-1+n}\ln \left ( c \left ( d+e{x}^{n} \right ) ^{p} \right ) \, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((f*x)^(-1+n)*ln(c*(d+e*x^n)^p),x)

[Out]

int((f*x)^(-1+n)*ln(c*(d+e*x^n)^p),x)

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x)^(-1+n)*log(c*(d+e*x^n)^p),x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [A]  time = 2.01271, size = 127, normalized size = 1.84 \begin{align*} -\frac{{\left (e p - e \log \left (c\right )\right )} f^{n - 1} x^{n} -{\left (e f^{n - 1} p x^{n} + d f^{n - 1} p\right )} \log \left (e x^{n} + d\right )}{e n} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x)^(-1+n)*log(c*(d+e*x^n)^p),x, algorithm="fricas")

[Out]

-((e*p - e*log(c))*f^(n - 1)*x^n - (e*f^(n - 1)*p*x^n + d*f^(n - 1)*p)*log(e*x^n + d))/(e*n)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x)**(-1+n)*ln(c*(d+e*x**n)**p),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (f x\right )^{n - 1} \log \left ({\left (e x^{n} + d\right )}^{p} c\right )\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x)^(-1+n)*log(c*(d+e*x^n)^p),x, algorithm="giac")

[Out]

integrate((f*x)^(n - 1)*log((e*x^n + d)^p*c), x)